<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="11"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Service_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-service_id" data-rule="required" data-source="service/index" class="form-control selectpage" name="row[service_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_name" data-rule="required" class="form-control" name="row[reg_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_type_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_type_id" data-rule="required" data-source="reg/type/index" class="form-control selectpage" name="row[reg_type_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_type_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_type_name" data-rule="required" class="form-control" name="row[reg_type_name]" type="text" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Reg_create_date')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-reg_create_date" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[reg_create_date]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_have_office')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_have_office" data-rule="required" class="form-control" name="row[is_have_office]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Staff_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-staff_num" data-rule="required" class="form-control" name="row[staff_num]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_have_mpf')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_have_mpf" data-rule="required" class="form-control" name="row[is_have_mpf]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Last_year_turnover')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_year_turnover" data-rule="required" class="form-control" name="row[last_year_turnover]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Is_have_new_plan')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-is_have_new_plan" data-rule="required" class="form-control" name="row[is_have_new_plan]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry_id" data-rule="required" data-source="industry/index" class="form-control selectpage" name="row[industry_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Industry_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-industry_name" data-rule="required" class="form-control" name="row[industry_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_from_country')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_from_country" data-rule="required" class="form-control" name="row[goods_from_country]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Goods_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-goods_name" data-rule="required" class="form-control" name="row[goods_name]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Sale_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-sale_type" data-rule="required" class="form-control" name="row[sale_type]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ownership_company_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <dl class="fieldlist" data-name="row[ownership_company_json]">
                <dd>
                    <ins>{:__('Key')}</ins>
                    <ins>{:__('Value')}</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[ownership_company_json]" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ownership_target_json')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <dl class="fieldlist" data-name="row[ownership_target_json]">
                <dd>
                    <ins>{:__('Key')}</ins>
                    <ins>{:__('Value')}</ins>
                </dd>
                <dd><a href="javascript:;" class="btn btn-sm btn-success btn-append"><i class="fa fa-plus"></i> {:__('Append')}</a></dd>
                <textarea name="row[ownership_target_json]" class="form-control hide" cols="30" rows="5"></textarea>
            </dl>


        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Target_country')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-target_country" data-rule="required" class="form-control" name="row[target_country]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Target_is_have_company')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-target_is_have_company" data-rule="required" class="form-control" name="row[target_is_have_company]" type="number" value="0">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_to_fund_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_to_fund_id" data-rule="required" data-source="plan/to/fund/index" class="form-control selectpage" name="row[plan_to_fund_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Plan_to_fund_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-plan_to_fund_name" data-rule="required" class="form-control" name="row[plan_to_fund_name]" type="text">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
